<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>

<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>叮当猫后台crm管理</title>
    <meta name="keywords" content="叮当猫">
    <meta name="description" content="叮当猫">

    <%--CSS--%>
    <link href="static/css/bootstrap.min.css" rel="stylesheet">
    <link href="static/font-awesome/css/font-awesome.css" rel="stylesheet">

    <!-- Morris -->
    <link href="static/css/morris-0.4.3.min.css" rel="stylesheet">

    <!-- Gritter -->
    <link href="static/css/jquery.gritter.css" rel="stylesheet">

    <link href="static/css/animate.css" rel="stylesheet">
    <link href="static/css/style.css" rel="stylesheet">
    <style>
        body{
            background-color: #2f4050;
        }
    </style>
</head>

<body>
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">

                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="../index.jsp#">
                                <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold" id="crmphone">账号</strong>
                             </span>  <span class="text-muted text-xs block" id="role">角色<b class="caret"></b></span> </span>
                        </a>
                    </div>
                    <div class="logo-element">
                        叮当猫
                    </div>

                </li>
                <shiro:hasPermission name="superMenu:systemManage">
                <li>
                    <a href="../jsp/withdraw/WithdrawalAudit.jsp"><i class="fa fa-columns"></i> <span class="nav-label">系统管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                        <shiro:hasPermission name="menu:parameterConfig:list">
                        <li><a href="/crm/configC/list" target="self">参数配置</a>
                        </li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="menu:CRMUserManage:list">
                        <li><a href="/crm/userC/list" target="self">后台用户管理</a>
                        </li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="menu:roleManage:list">
                        <li><a href="/crm/roleC/list" target="self">角色管理</a>
                        </li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="menu:systemPrivilegeManage:list">
                        <li><a href="/crm/systemPrivilegeC/list" target="self">资源管理</a>
                        </li>
                        </shiro:hasPermission>
                        <li><a href="/crm/indexConfigC/indexConfig" target="self">首页配置</a>
                        </li>
                        <li><a href="/crm/activityC/list" target="self">活动管理</a>
                        </li>
                    </ul>
                </li>
                </shiro:hasPermission>
                <shiro:hasPermission name="superMenu:goodsManage">
                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">商品基础数据管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                        <shiro:hasPermission name="menu:goodsEssentialData:list">
                        <li><a href="/crm/ddmGoodsC/listView" target="self">商品基础数据</a>
                        </li>
                        </shiro:hasPermission>

                        <shiro:hasPermission name="menu:goodsClass:list">
                        <li><a href="/crm/goodsCategoryC/list" target="self">商品分类</a>
                        </li>
                        </shiro:hasPermission>

                        <shiro:hasPermission name="menu:valueAddedServicesService:list">
                        <li><a href="/crm/valueAddedServicesC/listView" target="self">增值服务</a>
                        </li>
                        </shiro:hasPermission>

                        <shiro:hasPermission name="menu:ddmGoodProperty:list">
                        <li><a href="/crm/ddmGoodPropertyC/listView" target="self">商品基础属性</a>
                        </li>
                        </shiro:hasPermission>

                        <shiro:hasPermission name="menu:ddmObligation:list">
                        <li><a href="/crm/ddmObligationC/listView" target="self">服务承诺</a>
                        </li>
                        </shiro:hasPermission>

                        <li><a href="/crm/seckillGoodsC/listView" target="self">秒杀商品</a>
                        </li>
                    </ul>
                </li>
                </shiro:hasPermission>

                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">积分商品管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                            <li><a href="/crm/integralGoods/list.json" target="self">积分商品</a>
                            </li>

                            <li><a href="/crm/integralOrder/list" target="self">积分订单</a>
                            </li>

                    </ul>
                </li>

                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">流量充值管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                        <li><a href="/crm/flux/list.json" target="self">流量管理</a>
                        </li>

                        <li><a href="/crm/rechargeC/list" target="self">流量订单</a>
                        </li>

                    </ul>
                </li>
                <shiro:hasPermission name="superMenu:inventoryManage">
                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">库存管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <shiro:hasPermission name="menu:inventory:list">
                        <li><a href="/crm/inventoryC/listView" target="self">库存查询</a>
                        </li>
                        </shiro:hasPermission>
                    </ul>
                </li>
                </shiro:hasPermission>
                <shiro:hasPermission name="superMenu:purchaseOrderManage">
                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">订单管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <shiro:hasPermission name="menu:purchaseOrder:list">
                            <li><a href="/crm/purchaseOrderC/list" target="self">订单查询</a>
                            </li>
                        </shiro:hasPermission>
                    </ul>
                </li>
                </shiro:hasPermission>
                <shiro:hasPermission name="superMenu:refundLogManage">
                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">退款/售后</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <shiro:hasPermission name="menu:refundLog:list">
                        <li><a href="/crm/refundLogC/list" target="self">退款/售后查询</a>
                        </li>
                        </shiro:hasPermission>
                    </ul>
                </li>
                </shiro:hasPermission>
                <shiro:hasPermission name="superMenu:shopManage">
                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">店铺管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                        <shiro:hasPermission name="menu:shopInquire:list">
                        <li><a href="/crm/ddmShopC/listView" target="self">店铺查询</a>
                        </li>
                        </shiro:hasPermission>

                        <shiro:hasPermission name="menu:shopUserManage:list">
                        <li><a href="/crm/shopAdminUser/listView" target="self">店铺人员管理</a>
                        </li>
                        </shiro:hasPermission>
                    </ul>
                </li>
                </shiro:hasPermission>

                <shiro:hasPermission name="superMenu:financeManage">
                <li>
                    <a href="../jsp/withdraw/WithdrawalAudit.jsp"><i class="fa fa-columns"></i> <span class="nav-label">财务管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <shiro:hasPermission name="menu:tixianAudit:list">
                            <li><a href="/crm/tiXianC/WithdrawalAudit" target="self">提现审核</a>
                            </li>
                        </shiro:hasPermission>
                    </ul>
                </li>
                </shiro:hasPermission>

                <li>
                    <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">客服管理</span> <span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                            <li><a href="/crm/keFuC/listView" target="self">人工客服查询</a></li>
                    </ul>
                </li>


                <li>
                    <a href="/crm/userC/editPass" target="self"><i class="fa fa-edit"></i> <span class="nav-label">修改密码</span></a>
                </li>
                <li id="exit">
                    <a><i class="fa fa-sign-out"></i> <span class="nav-label">退出登录</span></a>
                </li>
                <li id="clearItem">
                    <a><i class="fa fa-sign-out"></i> <span class="nav-label">清理缓存</span></a>
                </li>
            </ul>

        </div>
    </nav>

</div>
<div id="page-wrapper" class="gray-bg dashbard-1">
    <div class="row border-bottom">
        <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
            </div>
            <ul class="nav navbar-top-links navbar-right">
                <li style="padding-top: 20px;">
                    <span class="m-r-sm text-muted welcome-message"><a href="../index.jsp" title="返回首页"><i class="fa fa-home"></i></a>欢迎来到叮当猫后台管理系统</span>
                </li>
            </ul>

        </nav>
    </div>
    <div>
        <iframe name="self" class="gray-bg dashbard-1" height="100%" width="100%" frameborder="no" border="0" marginwidth="0" marginheight="0"></iframe>
    </div>
    </div>

<!-- Mainly scripts -->
<script src="static/js/jquery-2.1.1.min.js" charset="utf-8"></script>
<script src="static/js/bootstrap.min.js" charset="utf-8"></script>
<script src="static/js/commons.js" charset="utf-8"></script>
<script src="static/js/metisMenu/jquery.metisMenu.js" charset="utf-8"></script>
<script src="static/js/slimscroll/jquery.slimscroll.min.js" charset="utf-8"></script>

<!-- Custom and plugin javascript -->
<script src="static/js/hplus.js" charset="utf-8"></script>
<script src="static/js/pace/pace.min.js" charset="utf-8"></script>


<!-- Custom and plugin javascript -->
<script src="static/js/hplus.js?v=2.2.0" charset="utf-8"></script>
<script src="static/js/pace/pace.min.js" charset="utf-8"></script>
<script src="static/js/layer/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
<script src="static/js/layer/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<!-- Page-Level Scripts -->
<script src="static/js/dataTables/myjs.js" charset="utf-8"></script>
<script>
    $('#role').html(localStorage.getItem('crmrole'));
</script>
</body>

</html>